package com.cheli.cmsservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Classname CmsApplication
 * @Description TODO
 * @Date 2021/4/20 7:07
 * @Created by cl
 */
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.cheli"})
@MapperScan("com.cheli.cmsservice.mapper")
public class CmsApplication {
    public static void main(String[] args){
        SpringApplication.run(CmsApplication.class,args);
    }
}
